package com.tlxch.mapper;

import com.github.pagehelper.Page;
import com.tlxch.dto.TAssessStudto;
import com.tlxch.dto.TAssessdto;
import com.tlxch.dto.TStudentTAlertdto;
import com.tlxch.pojo.TAssess;
import com.tlxch.vo.TAssessvo;
import com.tlxch.vo.TAssessvovo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TAssessMapper {
    int deleteByPrimaryKey(Integer tsId);

    int insert(TAssess record);

    int insertSelective(TAssess record);

    TAssess selectByPrimaryKey(Integer tsId);

    int updateByPrimaryKeySelective(TAssess record);

    int updateByPrimaryKeyWithBLOBs(TAssess record);

    int updateByPrimaryKey(TAssess record);

    void saveAssess(List<TAssess> tAssessList);

    List<TAssess> getAssessList();

    TAssess getstu(TStudentTAlertdto student);

    Page<TAssessvo> assessPage(TAssessdto tAssessdto);

    List<TAssessvovo> getTAssess(TAssessStudto tAssessStudto);
}